package 实验四1;

public class School implements ComputerAverage {
    @Override
    public double average(double[] x) {
        double sum = 0;
        for (double i : x) {
            sum += i;
        }
        return sum / x.length;
    }
}
